package com.javasm.sale.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.javasm.sale.Order;

import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.util.List;
import java.util.Map;

public interface OrderService extends IService<Order> {
    List<Order> listOrder(Order order);

    List<Order> listOrderAndIMEA(Map<String,String> map);

    byte[] excelTemplate(String objectName) throws IOException;

    Map<String, Object> readExcel(InputStream inputStream) throws FileNotFoundException;

    byte[] queryListToExcel(List<Order> orders) throws FileNotFoundException;


}

